package o;

public final class amq {
    private boolean ˎ;

    public synchronized boolean ˏ() {
        boolean z = true;
        synchronized (this) {
            if (this.ˎ) {
                z = false;
            } else {
                this.ˎ = true;
                notifyAll();
            }
        }
        return z;
    }

    public synchronized boolean ˎ() {
        boolean z;
        z = this.ˎ;
        this.ˎ = false;
        return z;
    }

    public synchronized void ॱ() throws InterruptedException {
        while (!this.ˎ) {
            wait();
        }
    }
}
